package com.xiaoyu.awakening.ai.evaluation.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * CreateSingleEvalTaskDTO
 *
 * @author wangxiaoyu
 * @date 2025/8/20 15:24
 * @since v1.0
 */
@Data
public class CreateSingleEvalTaskDTO {
    private String taskCode;
    @NotNull(message = "任务名称不能为空")
    private String evalTaskName;
    private String evalTaskDesc;
    private Integer type;
    @NotNull(message = "用户ID不能为空")
    private String userId;
    private String officeId;
    @NotNull(message = "目录ID不能为空")
    private String dirId;
    @Size(min = 1, message = "文件ID列表不能为空")
    private List<String> fileIdList;
    private List<String> metrics;
    private Boolean autoChooseMetrics;
    @NotNull(message = "数据集执行器不能为空")
    private String dataSetExecutor;
    @Length(max = 50)
    private Integer qaPairNum;
    private String token;
}
